<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/4/26
  Time: 10:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/web_top.jsp" %>
<title>毁约订单</title>
<div ng-include="use" class="includeStyle ">

         <div class="bgSortScroll">
            <!-- ngIf: HbHr.hr301 -->
            <hyjectlist-input ng-if="HbHr.hr301" class="">
                <div class="public-bgContent" ng-init="load()">

                    <!--表单搜索-->
                    <div class="public-bgDate">
                        <div class="se-re">
                            <select id="seleName" ng-model="param.timeType" ng-class="{'error':redErr.seleName}"
                                    ng-focus="remHight()" ng-change="changeName()"
                                    class="ng-pristine ng-untouched ng-valid ng-empty">
                                <option value="" selected="selected">时间类型</option>
                                <option value="1">毁约时间</option>
                                <option value="2">创单时间</option>
                            </select>
                            <span class="se-po"></span>
                        </div>
                        <span>
			<input type="text" autocomplete="off" id="start_time" ng-model="param.start_time" placeholder="开始时间"
                   class="ng-pristine ng-untouched ng-valid ng-empty datepicker">
			<i class="iconfont icon-riqi"></i>
		</span>
                        <em>
                        </em>
                        <span style="margin-left:10px">
			<input type="text" autocomplete="off" id="end_time" ng-model="param.end_time" placeholder="结束时间"
                   class="ng-pristine ng-untouched ng-valid ng-empty datepicker">
			<i class="iconfont icon-riqi"></i>
		</span>
                        <div class="se-re">
                            <select id="seleNames" ng-model="param.type" ng-class="{'error':redErr.seleName}"
                                    ng-focus="remHight()" ng-change="changeName()"
                                    class="ng-pristine ng-untouched ng-valid ng-empty">
                                <option value="" selected="selected">选择字段</option>
                                <option value="1">借款编号</option>
                                <option value="2">客户姓名</option>
                                <option value="3">手机号码</option>
                                <option value="4">身份证号码</option>
                                <option value="5">业务员姓名</option>
                            </select>
                            <span class="se-po"></span>
                        </div>
                        <span>
			<input type="text" autocomplete="off" id="inputNames" placeholder="请输入关键字" ng-focus="remHight()" ng-model="param.name"
                   class="ng-pristine ng-untouched ng-valid ng-empty">
		</span>
                        <div id="refuseorder_head_date" style="display: inline-block;"></div>
                        <script id="refuseorder_head_date_tpl" type="x-handlebars-template">

                        <div class="se-re">
                            <select id="at_id"
                                    class="ng-pristine ng-untouched ng-valid ng-empty">
                                <option value=""  selected="selected">分期</option>
                                {{#each content}}
                                <option label="{{atName}}" value="{{id}}">{{atName}}</option>
                                {{/each}}
                            </select>
                            <span class="se-po"></span>
                        </div>
                        </script>
                        <div class="se-re">
                            <select id="loan_way" class="ng-pristine ng-untouched ng-valid ng-empty">
                                <option value="" selected="selected">贷款方式</option>
                            </select>
                            <script type="text/x-handlebars-template" id="loanMethod_list_tpl">
                                {{#each content}}
                                <option value="{{id}}">{{name}}</option>
                                {{/each}}
                            </script>
                            <span class="se-po"></span>
                        </div>
                        <div class="se-re">
                            <select id="product_choose_list" class="ng-pristine ng-untouched ng-valid ng-empty">
                                <option value="">选择产品</option>
                                <%--<option value="1">按揭短拆</option>
                                <option value="2">红本抵押</option>
                                <option value="3">红本质押</option>--%>
                            </select>
                            <span class="se-po"></span>
                        </div>
                        <button id="search">
                            <i class="iconfont icon-sousuo"></i>
                        </button>
                    </div>
                    <!--提示操作-->
                    <div class="public-bghint">
                        <span ng-click="show('caozuo')" style="cursor: pointer;">提示操作</span>
                        <i class="iconfont icon-icon-copy-copy"></i>
                        <span class="calNum">筛选<span class=" result">0</span>条结果</span>
                    </div>
                    <ul class="public-ulList" ng-show="loanLaterShow.caozuo">
                        <li>显示拥有该栏目管理权限的数据；</li>
                        <li>拥有权限的管理员可以对客户进行编辑、提交评估/申请、删除；如果没有该权限，则操作性不显示对应的操作按钮</li>
                    </ul>
                    <div style="height: 20px;"></div>
                    <div class="table-scroll">
                        <!--tabel 列表-->
                        <table class="table public-table PoInput">
                            <thead>
                            <tr>
                                <td>全选</td>
                                <td>毁约时间</td>
                                <td>借款编号</td>
                                <td>所属产品</td>
                                <td>客户姓名</td>
                                <td>期数</td>
                                <td>借款金额</td>
                                <td>状态</td>
                                <td>操作</td>
                            </tr>
                            </thead>
                            <tbody id="break_list">


                            </tbody>
                            <script type="text/x-handlebars-template" id="break_list_tpl">
                                {{#if content.list.[0]}}
                                {{#each content.list}}
                                <tr class="table-tr-hover ">
                                    <td ng-if="!operation.examine" class="">
                                        <input type="checkbox" name="ch_id" value="{{oid}}"/>
                                    </td>
                                    <td>{{renege_time}}</td>
                                    <td>{{#IF_GT before_s_id node_id}}<span style="background: #e55a5b; padding: 3px 15px; color: #fff;">{{loan_number}}</span>{{else}}{{loan_number}}{{/IF_GT}}
                                    </td>
                                    <td>{{product_name}}</td>
                                    <td class="">{{union_name}}</td>
                                    <td class="">{{at_name}}</td>
                                    <td>￥{{#thounsandBit apply_money}}{{/thounsandBit}}</td>
                                    <td>{{s_name}}</td>
                                    <td>
                                        <div class="se-re sel-blue">
                                            <select class="tabHint selectDelePo596 ng-not-empty operations"
                                                    product_id="{{product_id}}" order_id="{{oid}}" task_id="{{task_id}}"
                                                    node_type="{{node_type}}" node_id="{{node_id}}" s_id="{{s_id}}">
                                                <option value="-1" selected="selected">选择操作</option>
                                                {{#each ../fourthMenus}}
                                                <option value="{{key}}">{{name}}</option>
                                                {{/each}}
                                            </select>
                                            <span class="se-po-blue"></span>
                                        </div>
                                        <button class="operations_record tabHint" id="{{oid}}">
                                            操作记录
                                        </button>
                                    </td>
                                </tr>
                                {{/each}}
                                {{else}}
                                <tr class="">
                                    <td colspan="16">暂时找不到数据</td>
                                </tr>
                                {{/if}}
                            </script>
                            <tfoot class="public-botPage">
                            <tr>
                                <td>
                                    <!-- 全选反选  -->
                                    <input type="checkbox" class="all_checked" name="ch_id_all">
                                </td>
                                <td colspan="12">
                                    <div class="public-botPage-left">
							<span>
								<span>全选</span>
							</span>
                                        <div class="se-re">
                                            <select class="tabHint tt1" id="allDown_select"
                                                    ng-model="selectType.default"
                                                    ng-change="F.selectQuery('tt1','ch_id')">
                                                <option value="-1" data-oper="" selected="selected">批量操作</option>
                                                <!-- ngIf: HbHr.hr304 -->
                                                <option value="恢复订单"
                                                        class="">恢复订单
                                                </option><!-- end ngIf: HbHr.hr304 -->
                                                <!--<option value="1" path="use" params="reOrder">恢复订单</option>-->
                                            </select>
                                            <span class="se-po"></span>
                                        </div>
                                    </div>
                                    <div class="public-botPage-right">
                                        <!-- 页码公共引进  'work/tems3/loanBefore/page/page.html'-->
                                        <!-- ngInclude: pageUrl -->
                                        <div ng-include="pageUrl" onload="pageOnload()" class="">
                                            <!--说明： 页码复用模板 dataPage为默认公共对象 调用sel（）方法传根据后台传参-->
                                            <!-- ngIf: dataPage.pages>1 --></div>
                                    </div>

                                    <div class="break-page-container page-container" style="float: right;"></div>

                                </td>
                            </tr>
                            </tfoot>
                        </table>
                        <!--底部操作-->
                    </div>
                </div>
            </hyjectlist-input><!-- end ngIf: HbHr.hr301 -->
        </div>
 </div>

<div class="winBox cover_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明： 选择已有客户 -->
        <div class="winBox3 ">
            <div class="deleteBox">
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">恢复申请</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <!-- 内容 -->
                <div class="deleBox">
                    <!-- 中间列表 -->
                    <div class="deleteTit">
			<span class="first">
				<i class="iconfont icon-tips2"></i>
			</span>
                        <span>您确定要恢复？</span>
                    </div>
                    <div class="beizhu"><span>*</span>备注</div>
                    <textarea class='coverRemarks' ng-focus="remHight()" ng-class="{'error':redErr.remarks}" data-tag="textLength" showtag="zishuxians"  ng-model="reason" class="ng-pristine ng-valid ng-empty ng-valid-maxlength ng-touched"></textarea>
                    <!-- 底部 -->
                    <div class="deleFooter">
                        <div class="deleBtn">
                            <button class="sureCover">确定恢复</button>
                            <button class="canCover">取消恢复</button>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<script type="text/x-handlebars-template" id="at_id_tpl">
    <option value="">分期</option>
    {{#each .}}
    <option value="{{id}}" data-num="{{num}}">{{atName}}</option>
    {{/each}}
</script>


<script type="text/javascript" src="static/js/jquery-plugin/jpager.js?_v=190102162154"></script>
<script type="text/javascript" src="static/js/page/application/breach_order.js?_v=190102162154"></script>
<%@include file="../../common/web_bottom.jsp" %>
